package com.haierp.service;

import java.util.List;

import com.baomidou.framework.service.ISuperService;
import com.haierp.model.Seller;
import com.haierp.model.SellerType;
import com.haierp.util.JsonPageResult;
import com.haierp.vo.SellerQueryVO;

/**
 * 
 * Title: ISellerService.java
 * Description: 
 *
 * @author jc
 * Mar 18, 2017
 *
 */

public interface ISellerService extends ISuperService<Seller> {

	/**
	 * Query count
	 * @param sellerQueryVO
	 * @return
	 */
	Integer querySellersCount(SellerQueryVO sellerQueryVO);
	
	/**
	 * Query Seller List
	 * @param sellerQueryVO
	 * @return
	 */
	JsonPageResult<List<Seller>> querySellerList(SellerQueryVO sellerQueryVO);
	
	/**
	 * Update SellerType information by code
	 * @param sellerType
	 */
	void updateSellerTypeByTypeCode(SellerType sellerType);

	Integer querySaleCountInOrder(Long salesId);
}
